package com.bistu.pojo;

import java.util.Date;

public class User {
    private Integer userId;

    private String username;

    private String password;

    private String trueUsername;

    private String sex;

    private String studentId;

    private Integer role;

    private String email;

    private String phone;

    private String school;

    private String academy;

    private String profession;

    private String grade;

    private String myClass;

    private String headPortrait;

    private String deviceId;

    private Date updateTime;

    private Date createTime;

    public User(Integer userId, String username, String password, String trueUsername, String sex, String studentId, Integer role, String email, String phone, String school, String academy, String profession, String grade, String myClass, String headPortrait, String deviceId, Date updateTime, Date createTime) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.trueUsername = trueUsername;
        this.sex = sex;
        this.studentId = studentId;
        this.role = role;
        this.email = email;
        this.phone = phone;
        this.school = school;
        this.academy = academy;
        this.profession = profession;
        this.grade = grade;
        this.myClass = myClass;
        this.headPortrait = headPortrait;
        this.deviceId = deviceId;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }

    public User() {
        super();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getTrueUsername() {
        return trueUsername;
    }

    public void setTrueUsername(String trueUsername) {
        this.trueUsername = trueUsername == null ? null : trueUsername.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId == null ? null : studentId.trim();
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school == null ? null : school.trim();
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy == null ? null : academy.trim();
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession == null ? null : profession.trim();
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade == null ? null : grade.trim();
    }

    public String getMyClass() {
        return myClass;
    }

    public void setMyClass(String myClass) {
        this.myClass = myClass == null ? null : myClass.trim();
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait == null ? null : headPortrait.trim();
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}